package etnorservice.etnor_service.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import etnorservice.etnor_service.domain.RoleUserDomain;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: cc
 * @Date: 2025/03/24/12:58
 **/
@Mapper
public interface RoleUserMapper extends BaseMapper<RoleUserDomain> {
    List<RoleUserDomain> getUserRoles(Integer userId);
    List<RoleUserDomain> getAllRoles();
}
